//
//  RootViewController.h
//  MobileSail
//
//  Created by Roy Brown on 8/8/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MainMenuViewController.h";

@interface RootViewController : UIViewController {
	IBOutlet UILabel		*myLabel;
	IBOutlet UILabel		*greeting;
	IBOutlet UITextField	*userInput;
	IBOutlet UITextField    *passwordInput;
	
	NSMutableData			*webData;
	NSMutableString			*soapResults;
	NSXMLParser				*xmlParser;
	
	BOOL					recordResults;
	BOOL					isLogon;
	
	MainMenuViewController *mainMenuViewController;	
}

-(IBAction)Connect_Click:(id)sender;
-(BOOL)dismissKeyBoard:(id)sender;

@property(nonatomic,retain) UILabel *myLabel;
@property(nonatomic,retain) UILabel *greeting;
@property(nonatomic,retain) UITextField *userInput;
@property(nonatomic,retain) UITextField *passwordInput;

@property(nonatomic,retain) NSMutableData *webData;
@property(nonatomic,retain) NSMutableString *soapResults;
@property(nonatomic,retain) NSXMLParser *xmlParser;

@property(nonatomic,retain) MainMenuViewController *mainMenuViewController;

- (void) callWebService;

@end
